package com.aier.school.entity;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * SchoolTeacherDuty entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
@Entity
@Table(name = "school_teacher_duty", catalog = "aier360")
public class SchoolTeacherDuty implements java.io.Serializable {

    // 学校值班表

    private Long did;
    private Long tid;
    private Short state;
    private Timestamp sdate;
    private Timestamp edate;
    private Integer sid;
    
    private String teacherName;
    private String typeName;
    private String tAccount;
    private String sdate_str;
    private String edate_str;
    // Constructors

    /** default constructor */
    public SchoolTeacherDuty() {
    }

    /** minimal constructor */
    public SchoolTeacherDuty(Long tid) {
        this.tid = tid;
    }

    /** full constructor */
    public SchoolTeacherDuty(Long tid, Integer sid, Short state,
            Timestamp sdate, Timestamp edate) {
        this.tid = tid;
        this.sid = sid;
        this.state = state;
        this.sdate = sdate;
        this.edate = edate;
    }

    // Property accessors

    public Long getDid() {
        return this.did;
    }

    public void setDid(Long did) {
        this.did = did;
    }



    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Timestamp getSdate() {
        return this.sdate;
    }

    public void setSdate(Timestamp sdate) {
        this.sdate = sdate;
    }

    public Timestamp getEdate() {
        return this.edate;
    }

    public void setEdate(Timestamp edate) {
        this.edate = edate;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String gettAccount() {
        return tAccount;
    }

    public void settAccount(String tAccount) {
        this.tAccount = tAccount;
    }

    public String getSdate_str() {
        return sdate_str;
    }

    public void setSdate_str(String sdate_str) {
        this.sdate_str = sdate_str;
    }

    public String getEdate_str() {
        return edate_str;
    }

    public void setEdate_str(String edate_str) {
        this.edate_str = edate_str;
    }





    
}